package com.main.usermanagement.domain.user.repository.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.main.usermanagement.domain.user.entity.UserAddress;
import com.main.usermanagement.domain.user.entity.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UserAddressMapper extends BaseMapper<UserAddress> {
    UserAddress findByUserInfoId(@Param("userInfoId") Long userInfoId);
    Boolean removeByUserInfoId(@Param("userInfoId") Long userInfoId);
}
